import {App} from 'vue'
import antd from './antd'
import axios from './axios'
import router from '@/router'
import store from '@/store'
import mixin from './mixin'
import '@/assets/app.scss'
// import preference from '@/plugins/preference'


export default {
    install: (app: App): void => {
        app.use(router) //路由
            .use(antd)  //AntDesignVue
            .use(store) //vuex
            .use(axios) //http
            .use(mixin) //自定义组件
            // .use(preference)
    }
}
